package cn.shopifymall.io;

import org.junit.Test;

import java.io.File;
import java.io.IOException;

/**
 * @Author 孤风雪影
 * @Email gitee.com/efairy520
 * @Date 2025/1/21 14:45
 * @Version 1.0
 */
public class FileCreate {

    @Test
    public void create01() throws IOException {
        String filePath = "E:\\news1.txt";
        File file = new File(filePath);
        boolean flag = file.createNewFile();
        System.out.println("flag = " + flag);
    }

}
